From: Luca Bacci Date: Tue, 14 Dec 2021 17:33:28 +0000 (+0100) Subject: Remove call to ShowOwnedPopups (FALSE) to hide owned windows X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~61^2^2~128^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c77272a7d7cda548e5ff2a4dadbc8235ec9a9d23;p=gtk4.git Remove call to ShowOwnedPopups (FALSE) to hide owned windows This is needed to fully support windows with the property "destroy-with-parent" set to FALSE. --- diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c index 94f380448a..7f635be528 100644 --- a/gdk/win32/gdksurface-win32.c +++ b/gdk/win32/gdksurface-win32.c @@ -989,9 +989,6 @@ gdk_win32_surface_hide (GdkSurface *window) _gdk_surface_clear_update_area (window); - if (GDK_IS_TOPLEVEL (window)) - ShowOwnedPopups (GDK_SURFACE_HWND (window), FALSE); - /* Use SetWindowPos to hide transparent windows so automatic redraws * in other windows can be suppressed. */